package com.yuantu.judiciary.exception.enums;

import com.yuantu.judiciary.common.CodeEnum;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 认证模块异常码
 *
 * @author syw
 * @since 2023-08-11
 **/
@Getter
@RequiredArgsConstructor
public enum AuthExceptionEnum implements CodeEnum {
    /**
     * 认证相关
     */
    AUTH_NOT_EXIST(47001, "认证记录不存在"),
    AUTH_NOT_EXIST_OR_EXPIRES(47002, "认证记录不存在或已过期，请重新认证"),

    ;

    private final int code;
    private final String message;
}
